let list_fn=async(context,next)=>{
    context.body('天气晴朗');
}
let add_fn=async(context,next)=>{
    context.body('阳光明媚');
}
let edit_fn=async(context,next)=>{
    context.body('蓝天白云');
}
let delete_fn=async(context,next)=>{
    context.body('放松心情');
}
let details_fn=async(context,next)=>{
    context.body('莫名其妙');
}

module.exports={
    '/user/list':['get',list_fn],
    '/user/add':['post',add_fn],
    '/user/edit':['put',edit_fn],
    '/user/delete':['delete',delete_fn],
    '/user/details':['get',details_fn]
}